﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BGCMS.Models.SpecialistViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Denied Specialists
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="leftside">
        <% Html.RenderPartial("AdminLinks"); %>
    </div>
    <div id="content">
        <h2>
            Denied Specialists</h2>
        <table class="tafla">
            <thead>
                <tr>
                    <th>
                        Nafn sérfræðings
                    </th>
                    <th>
                        Titill
                    </th>
                    <th>
                        Menntun
                    </th>
                    <th>
                        Vinnustaður
                    </th>
                    <th>
                        Símanúmer
                    </th>
                </tr>
            </thead>
            <tbody>
                <% foreach (var s in Model.Specialist)
                   { %>
                <tr>
                    <td>
                        <%: s.Name %>
                    </td>
                    <td>
                        <%: s.Title %>
                    </td>
                    <td>
                        <%: s.Education %>
                    </td>
                    <td>
                        <%: s.Workplace %>
                    </td>
                    <td>
                        <%: s.Phone  %>
                    </td>
                </tr>
                <% } %>
            </tbody>
        </table>
    </div>
</asp:Content>